import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Workbench',
      component: () => import('./views/control/Workbench.vue')
    },
    {
      path: '/control/Overview',
      name: 'Overview',
      component: () => import('./views/control/Overview.vue')
    },
    {
      path: '/control/Column',
      name: 'Column',
      component: () => import('./views/control/Column.vue')
    },
    {
      path: '/control/Product',
      name: 'Product',
      component: () => import('./views/control/Product.vue')
    },
    {
      path: '/control/article',
      name: 'article',
      component: () => import('./views/control/article.vue')
    }
  ]
})
